home *** CD-ROM | disk | FTP | other *** search
/ BBS Toolkit / BBS Toolkit.iso / doors_1 / echo311.zip / CTLFILES.ZIP / PACKMAIL.CTL < prev   
Text File  |  1992-03-30  |  10KB  |  200 lines

  1. ;-----------------------------------------------------------------------------
  2. ;
  3. ;  This file is given as an example of the commands that should be added
  4. ;  to the EchoDor.Ctl file to enable compressing and downloading mail.
  5. ;
  6. ;  This file can either be apppended to the EchoDor.Ctl file or it can
  7. ;  be added using the INCLUDE PackMail.Ctl command.
  8. ;
  9. ;  If you use this file, delete some of the comments as it will decrease the
  10. ;  EchoDor load / start up time.
  11. ;
  12. ;-----------------------------------------------------------------------------
  13. ;Nopackmail - Disables the packmail feature.  If this parameter is uncommented,
  14. ;             all of the PackMail features in EchoDor will be disabled.  If you
  15. ;             want to use the packmail function be sure to either remove this
  16. ;             parameter or leave it commented out.
  17. ;
  18. ;NOPACKMAIL
  19. ;
  20. ;PackMenuFile - This is the name of the Pack Mail Menu file.  This is much
  21. ;               like the main menu file except it is displayed when the user
  22. ;               selects the [P] option on the main menu.
  23. ;
  24. ;               This parameter is required if you wish to use the pack mail
  25. ;               feature in EchoDor.
  26. ;
  27. PACKMENUFILE PackMenu
  28. ;
  29. ;Mailfile - The filename (and path) of where you wish uncompressed mail can
  30. ;           be placed.  This parameter is required for PackMail operation.
  31. ;
  32. ;           If you let the user download this file through your file section
  33. ;           on your BBS, be sure to place the file where it can be found.
  34. ;
  35. ;           If you use the built in download function you should place the
  36. ;           file where the download functions can find them.  A good place
  37. ;           to put the mail file is in the EchoDor directory.
  38. ;
  39. ;           If you run multiple nodes, you should name this file differently
  40. ;           in each echodor.ctl file so that the different nodes won't bump
  41. ;           into each other.  As an alternative you can include a single pound
  42. ;           symbom (#) somewhere in the file name.  EchoDor will replace the
  43. ;           pound symbol with the node number.
  44. ;
  45. MAILFILE C:\EchoDor\Usermail.txt
  46. ;
  47. ;PackMailText - This is a name of a file that is displayed to the user
  48. ;               when he/she finishes packing the mail.  You can tell them
  49. ;               the file is available from the files section, or you can
  50. ;               tell them to use the [D] command to download the mail or
  51. ;               the [C] command to compress the packed mail file.
  52. ;
  53. ;               This parameter is optional.
  54. ;
  55. PACKMAILTEXT PackMail
  56. ;-----------------------------------------------------------------------------
  57. ;
  58. ;  This section contains the parameters that define the mail downloading
  59. ;  feature of EchoDor.  The omission of these parameters will not prevent
  60. ;  the user from packing mail; however, it will be necessary to place the
  61. ;  packmail file somewhere where the user can download it through the file
  62. ;  section of the BBS.
  63. ;
  64. ;  With downloading enabled, the user can download the mail file from directly
  65. ;  within EchoDor and not have to exit.  EchoDor will tell the download command
  66. ;  to either download the uncompressed file or the commpressed file as
  67. ;  necessary.
  68. ;
  69. ;-----------------------------------------------------------------------------
  70. ;DownLoadFile - This parameter tells EchoDor the name of the file that should
  71. ;               be displayed to the user when he/she selects [D]ownload from
  72. ;               the pack mail menu.  This file should tell the user the
  73. ;               protocols that you have available for downloads.
  74. ;
  75. ;               This file can be created in the three versions:
  76. ;                     filename.ANS   (ANSI color)
  77. ;                     filename.ASC   (IBM ascii)
  78. ;                     filename.      (regular text)
  79. ;
  80. ;               This file is required to enable downloading.
  81. ;
  82. DOWNLOADFILE download
  83. ;
  84. ;DownLoadProtocol - This parameter tells EchoDor the letter which corresponds
  85. ;                   to each specific protocol, and how to call that protocol.
  86. ;                   EchoDor has no built in protocols.  All downloading occurs
  87. ;                   through external protocol engines.  DSZ is one of the best
  88. ;                   known protocol engines.  Samples are given for X, Y, and Z
  89. ;                   modem downloads.  You can have as many down load protocol
  90. ;                   lines as you need.  You must have at least one for download
  91. ;                   to work.
  92. ;
  93. ;                   The first part of the parameter is the letter that is to
  94. ;                   be used to start the protocol.  This should be a single
  95. ;                   letter.  Upper and lower case are considered the same.
  96. ;
  97. ;                   The second part of the parameter is the name of the program
  98. ;                   that should be run.  Be sure to include either the .EXE or
  99. ;                   the .COM at the end of the program.  EchoDor will not
  100. ;                   directly run batch files.  The program must be either in
  101. ;                   the current directory or on the path.
  102. ;
  103. ;                   The last part of the parameter is the command to be passed
  104. ;                   to the program to download the file.
  105. ;
  106. ;                   The command part of the parameter can contain special
  107. ;                   control words that are replaced by values before EchoDor
  108. ;                   runs the program.  The available values are:
  109. ;
  110. ;                      %1 = node number (single character)
  111. ;                      %2 = com port number (single digit)
  112. ;                      %3 = baud rate (300-38400).  If the user is connected
  113. ;                           with a locked rate, that locked rate will be used.
  114. ;                      %4 = file to download.  A full drive and path will be
  115. ;                           passed.
  116. ;
  117. ;                   Any of the above can be used as needed.  The following
  118. ;                   are samples for download protocols for X modem, Y modem,
  119. ;                   and Z modem.
  120. ;
  121. DOWNLOADPROTOCOL Z DSZ.EXE port %2 sz %4
  122. DOWNLOADPROTOCOL Y DSZ.EXE port %2 sb %4
  123. DOWNLOADPROTOCOL X DSZ.EXE port %2 sx %4
  124. ;
  125. ;-----------------------------------------------------------------------------
  126. ;
  127. ;  This section contains the parameters that define the mail compression
  128. ;  feature in EchoDor.  The omission of these parameters will not prevent
  129. ;  the user from packing mail; however, only the full text file can be
  130. ;  received or specific compression (when EchoDor exits) can be used.
  131. ;
  132. ;  When packing is used, the user can compress his/her text file before
  133. ;  attempting to download it.  This will reduce time on the BBS.
  134. ;
  135. ;-----------------------------------------------------------------------------
  136. ;CompressDir - This parameter tells EchoDor where to put files that have been
  137. ;              compressed by an archive program.  This parameter must specify
  138. ;              a valid directory.  ** Warning ** - this directory will be
  139. ;              completely erased each time EchoDor gets ready to compress a
  140. ;              mail file.  MAKE SURE YOU GET THIS PARAMETER CORRECT!!!
  141. ;
  142. COMPRESSDIR C:\EchoDor\Compress
  143. ;
  144. ;CompressFile - This parameter tells EchoDor the name of the file that should
  145. ;               be displayed to the user when he/she selects [C]ompress from
  146. ;               the pack mail menu.  This file should tell the user the
  147. ;               archive programs that you have available for compressing mail.
  148. ;
  149. ;               This file can be created in the three versions:
  150. ;                     filename.ANS   (ANSI color)
  151. ;                     filename.ASC   (IBM ascii)
  152. ;                     filename.      (regular text)
  153. ;
  154. ;               This file is required to enable compressing mail.
  155. ;
  156. COMPRESSFILE compress
  157. ;
  158. ;PackerProgram - This parameter tells EchoDor the letter which corresponds to
  159. ;                each specific compression program and how to call that com-
  160. ;                pression program.  EchoDor has no build in archiving programs.
  161. ;                All compression occurs through outside compression programs.
  162. ;                Examples are given for ZIP, PAK, and ARC.  You can have as
  163. ;                many packer program lines as you need.  You must have at least
  164. ;                one for comression to work.
  165. ;
  166. ;                The first part of the command is the letter that is used to
  167. ;                start the compress program.  This must be a single letter.
  168. ;                Upper and Lower case are considered the same.
  169. ;
  170. ;                The second part of the parameter is the name of the program
  171. ;                that should be run.  Be sure to include either the .EXE or
  172. ;                the .COM at the end of the program.  EchoDor will not
  173. ;                directly run batch files.  The program must be either in
  174. ;                the current directory or on the path.
  175. ;
  176. ;                The last part of the parameter is the command to be passed
  177. ;                to the program to download the file.
  178. ;
  179. ;                The command part of the parameter can contain special
  180. ;                control words that are replaced by values before EchoDor
  181. ;                runs the program.  The available values are:
  182. ;
  183. ;                   %1 = the name of the file to compress.  A full drive &
  184. ;                        path will be passed.
  185. ;                   %2 = the COMPRESSDIR parameter.
  186. ;
  187. ;                Either or both of the above can be used.  The following are
  188. ;                examples of ZIP, PAK, and ARC.
  189. ;
  190. PACKERPROGRAM Z PkZip.Exe -a %2\EchoMail %1
  191. PACKERPROGRAM P Pak.Exe A %2\EchoMail %1
  192. PACKERPRORGAM A Arca.Com %2\EchoMail %1
  193. ;
  194. ;                This next example uses PAK to generate a self extracting
  195. ;                archive for the user.
  196. ;
  197. PACKERPROGRAM E Pak.EXE A/EXE %2\EchoMail %1
  198. ;
  199. ;-----------------------------------------------------------------------------
  200.